home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Willard Press Kit
/
Willard Press Kit.iso
/
mac
/
Acrobat Reader 5
/
Acrobat Reader 5.0
/
Acrobat Reader 5.0.rsrc
/
EXVW_10014_admGetDocInfo
< prev
next >
Wrap
Text File
|
2001-09-24
|
6KB
|
131 lines
gEditItemWidth = max_char_width() * 25;
gStaticItemWidth = gEditItemWidth + gEditTextPad;
gPopupItemWidth = max(zstring_width(zstring: '$$$avBindingLeft'),zstring_width(zstring: '$$$avBindingRight')) + (max_char_width() * 4);
gLabelFilePath = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/FilePath');
gLabelTitle = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Title');
gLabelSubject = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Subject');
gLabelAuthor = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Author');
gLabelKeywords = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Keywords');
gLabelBinding = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Binding');
gLabelCreator = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Creator');
gLabelProducer = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Producer');
gLabelPDFVersion = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/PDFVersion');
gLabelCreated = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Created');
gLabelModified = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Modified');
gLabelFileSize = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/FileSize');
gLabelOptimized = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Optimized');
gLabelEncrypted = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/Encrypted');
gLabelPageSize = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/PageSize');
gLabelNumPages = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/NumPages');
gTaggedPDF = zstring_width(zstring: '$$$/Dialogs/GetDocInfo/TaggedPDF');
gLabelItemWidth = max(
gLabelFilePath,
gLabelTitle,
gLabelSubject,
gLabelAuthor,
gLabelKeywords,
gLabelBinding,
gLabelCreator,
gLabelProducer,
gLabelCreated,
gLabelModified,
gLabelFileSize,
gLabelOptimized,
gLabelEncrypted,
gLabelPageSize) + max_char_width();
gVerticalGapHeight = gStaticTextHeight / 4;
gMaxOptStatic = max(
zstring_width(zstring: '$$$avYes'),
zstring_width(zstring: '$$$avNo'));
dialog(name: '$$$/Dialogs/GetDocInfo')
{
view(align_children: align_left)
{
view(align_children: align_top)
{
static_text(item_id: 'ptst', name: '$$$/Dialogs/GetDocInfo/FilePath', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'path', width: gStaticItemWidth, height: gStaticTextHeight*2);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Title', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'titl', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Subject', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'subj', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Author', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'auth', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Keywords', width: gLabelItemWidth, alignment: align_right);
edit_text(item_id: 'kwrd', width: gEditItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Binding', width: gLabelItemWidth, alignment: align_right);
popup(item_id: 'bind', width: gPopupItemWidth);
}
gap( height: gVerticalGapHeight );
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Creator', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'crea', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Producer', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'prod', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Created', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'cdat', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Modified', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'mdat', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/FileSize', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'fsiz', width: gStaticItemWidth);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/Encrypted', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'encd', width: gStaticItemWidth);
}
gap( height: gVerticalGapHeight );
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/PDFVersion', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'pdfv', width: gStaticItemWidth/2+gLabelItemWidth-gLabelOptimized);
static_text(name: '$$$/Dialogs/GetDocInfo/Optimized');
static_text(item_id: 'optd', width: max_char_width()*7);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/PageSize', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'pgsz', width: gStaticItemWidth/2+gLabelItemWidth-gTaggedPDF);
static_text(name: '$$$/Dialogs/GetDocInfo/TaggedPDF');
static_text(item_id: 'tpdf', width: max_char_width()*7);
}
view(align_children: align_row)
{
static_text(name: '$$$/Dialogs/GetDocInfo/NumPages', width: gLabelItemWidth, alignment: align_right);
static_text(item_id: 'npgs', width: gStaticItemWidth/2);
}
gap( height: gVerticalGapHeight );
ok_cancel();
}
}